/**
 * @date 2006-7-14
 */

package org.nanhill.xmlro;

import java.util.HashMap;
import java.util.Map;

/**
 * @author alin [xalinx at gmail dot com]
 * @date 2006-7-14
 */
public abstract class AbstractDeserializerFactory implements
		DeserializerFactory {
	protected Map<String, Deserializer> dispatcher = new HashMap<String, Deserializer>();

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.nanhill.protocol.xmlro.model.DeserializerFactory#getDeserializer(java.lang.String)
	 */
	public Deserializer getDeserializer(String nodeName) {
		return dispatcher.get(nodeName);
	}

}
